<% content_for :title do %>用户详细<% end %>
<%= link_to '返回', users_path %>
<%= render :partial=>'detail',:locals=>{:user=>@user}%>